namespace PickGold.Charting.Borders3D
{
    using System;
    using System.Drawing;

    internal class FrameTitle8Border : FrameTitle1Border
    {
        public FrameTitle8Border()
        {
            base.sizeLeftTop = new SizeF(0f, this.sizeLeftTop.Height);
            base.sizeRightBottom = new SizeF(0f, this.sizeRightBottom.Height);
            base.innerCorners = new float[] { 1f, 1f, 1f, 1f, 1f, 1f, 1f, 1f };
        }

        public override string Name
        {
            get
            {
                return "FrameTitle8";
            }
        }

        public override float Resolution
        {
            set
            {
                base.Resolution = value;
                base.sizeLeftTop = new SizeF(0f, this.sizeLeftTop.Height);
                base.sizeRightBottom = new SizeF(0f, this.sizeRightBottom.Height);
                float num = (1f * base.resolution) / 96f;
                base.innerCorners = new float[] { num, num, num, num, num, num, num, num };
            }
        }
    }
}

